package com.qinggeng.project.system.service.impl;

import com.qinggeng.project.system.domain.News;
import com.qinggeng.project.system.mapper.SysNewsMapper;
import com.qinggeng.project.system.service.ISysNewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 吴鹏飞
 * @date 2020/9/3
 */
@Service
public class ISysNewsServiceImpl implements ISysNewsService {
    @Autowired
    private SysNewsMapper sysNewsMapper;
    @Override
    public List<News> selectNewsAll() {
        return sysNewsMapper.selectNewsAll();
    }
}
